﻿using Abp.Domain.Entities;
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace Batman.Cms.Domains
{
    public class QrCode : Entity<int>
    {
        public string Name { get; set; }

        public string Url { get; set; }

        public string WeixinUrl { get; set; }

        /// <summary>
        /// 参数
        /// </summary>
        public string ActionInfo { get; set; }

        public QrCodeType Type { get; set; }

        [Column("OpenAccountId")]
        public int WeixinMpId { get; set; }

        /// <summary>
        /// 过期秒数
        /// </summary>
        public int? ExpiredSeconds { get; set; }

        /// <summary>
        /// 过期时间
        /// </summary>
        public DateTime? ExpiredAt { get; set; }

    }
}
